package com.cn.pojo.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)//链式; 存取器。通过该注解可以控制getter和setter方法的形式。
@TableName("shop_group")
public class ShopGroup implements Serializable {

  private static final long serialVersionUID = 915478504870211231L;

  @TableId(value = "id", type = IdType.AUTO)
  private long id;
  private long commdityId;
  private long specId;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getCommdityId() {
    return commdityId;
  }

  public void setCommdityId(long commdityId) {
    this.commdityId = commdityId;
  }


  public long getSpecId() {
    return specId;
  }

  public void setSpecId(long specId) {
    this.specId = specId;
  }

}
